home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1996 July
/
Macworld (1996-07).dmg
/
Shareware World
/
HTML
/
MacPerl BBEdit extension
/
read me
< prev
next >
Wrap
Text File
|
1996-04-16
|
2KB
|
54 lines
This BBEdit extension allows the running of MacPerl scripts from BBEdit. MacPerl
is a Macintosh port of the Perl programming language by Matthias Neeracher.
Information about MacPerl is available at
<http://err.ethz.ch/members/neeri/macintosh/perl-qa.html>
This extension sends the text in the active BBEdit window to MacPerl to be
executed as a Perl script. If a Perl script executed by the extension writes
output to stdout or stderr then a new BBEdit window is created and the output is
put into the new window after the script is finished executing (any stderr text
is first followed by the stdout text). MacPerl must be running before the
extension is executed, otherwise an alert is displayed. Typing the command and
period keys together will terminate the extension, although the Perl script
started by the extension will still be running.
To use the extension put it in the "BBEdit Extensions" folder that is in the same
folder as the BBEdit application. If BBEdit is running the extension will only
appear in the Extensions menu after BBEdit is quit and restarted.
The extension is a 68K BBEdit extension and should work on a 68K or PPC Macintosh
with MacPerl 4 or 5, and BBEdit or BBEdit Lite (I've only tried it with version
3.5.2 of BBEdit).
This extension is freeware. If you have any questions or comments, or would like
a copy of the source code, please let me know.
Of related interest is the BBEdit Script Extension for MacPerl written by
Matthias Neeracher. This allows Perl scripts to be saved as BBEdit extensions by
MacPerl. There is a Perl interface to BBEdit that allows MacPerl scripts saved as
BBEdit extensions to use BBEdit extension callbacks. Unfortunately, the last time
I checked (using the 07Feb96 version of the BBEdit Script Extension with MacPerl
5.0.6) the BBEdit extension callbacks did not work on 68K Macintoshes (they do
work on PPC Macintoshes). The BBEdit Script Extension for MacPerl is available
from
<ftp://err.ethz.ch/pub/neeri/MacPerl/MPBBEdit_07Feb96.sit.bin>
Brad Hanson
bhanson@avalon.net, BradH5@aol.com
Version History
April 15, 1996 - Version 1.0
- Pressing command-period will stop the extension.
- Added alerts for more informative error messages.
- Added version resource.
January, 1996 - Version 0 (actually no version number)
I submitted this initial version to the MacPerl mailing list.